package com.atguigu.daijia.customer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author LiYang
 * @desc
 * @date 2024/10/17 16:26
 */
@Component // 放入spring容器
@Data
@ConfigurationProperties(prefix = "wx.miniapp") // 根据前缀读取配置文件内容
public class WxConfigProperties {
    private String appId;
    private String secret;
}
